<%-- 
    Document   : adminPage
    Created on : Nov 17, 2012, 2:36:10 PM
    Author     : JeF
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="./../resources/css/default.css" rel="stylesheet" type="text/css" />
        <link href="./../resources/css/cssLayout.css" rel="stylesheet" type="text/css" />
        <title>Admin</title>
    </head>
    <body>
        <div id="navigation">
            Welcome, <u><b> <%=request.getRemoteUser() == null ? "guest" : request.getRemoteUser()%></b></u>   <a href="../logout.jsp">Logout</a>
            <ul style="float: right; text-align: right;">
                <li><a href="../index.jsp">home</a> | </li>
                <li><a href="../login.jsp">login</a> | </li>
                <% if (request.getRemoteUser() != null) {%>
                <li><a href="../SecuredUser/userPage.jsp" style="color:red">info</a> | </li>
                <li><a href="adminPage.jsp" style="color:red">admin</a></li>	
                <% }%>
            </ul>
        </div>
        <div id="top">
            <img src="../resources/images/icon2.png" alt="eSales" width="84" height="84" align="right"/>
            <h1>eSales / Admin console</h1>
            <p>http://www.eSales.com/</p>
        </div>

        <div id="content">
            <div id="maintextarea">
                <form class="formFile" action="../UploadServlet" method="post"  enctype="multipart/form-data">
                    Please specify a file to add lots:
                    <input class="input1" type="file" name="file">
                    <input class="button" type="submit" value="Add Lots">
                </form>
            </div>

        </div>
        <div id="bottom">
        </div>
    </body>
</html>
